package cn.com.idmy.auth;


import org.jetbrains.annotations.NotNull;

public interface Principal<T, ID> {
    @NotNull
    T principal();

    @NotNull
    ID id();
}